var buf=new Buffer(256);
var offset=0;
/* var len=buf.write("aabbcc",offset,"aabbbcc".length,'utf8');
console.log("write:"+len);

var readdata=buf.toString('utf8',0,6);
console.log("data:"+readdata); */
var a=3;
var b=0x83;

var len=buf.writeUInt8(a,0);
console.log("write:"+len);

var readdata=buf.readUInt8(0);
console.log("data:"+readdata.toString()); 

/* setInterval(function()
{
	console.log("data:"+readdata); 
},1000); */
exports.demo=function()
{
	console.log("test exports");
};
